package com.study.core.schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.InitBinder;

import javax.annotation.PostConstruct;
import java.util.concurrent.ScheduledThreadPoolExecutor;

/**
 * Created by yangluhua on 2017/1/9 0009.
 */
@Component
public class MyShedule {
    /*@Scheduled(fixedRate = 1000*2)*/
    public void show(){
        System.out.println("Annotation：is show run");
    }
}
